﻿namespace WeWork.Model
{
    /// <summary>
    /// 文本
    /// </summary>
    public class ChatText : MsgChatRoomBase
    {
        /*
        {
            "msgid":"CAQQluDa4QUY0On2rYSAgAMgzPrShAE=",
            "action":"send",
            "from":"XuJinSheng",
            "tolist":["icefog"],
            "roomid":"",
            "msgtime":1547087894783,
            "msgtype":"text",
            "text":{
                "content":"test"
            }
        }
        */
        /// <summary>
        /// 消息内容
        /// </summary>
        public TextInfo text { set; get; }
    }

    public class TextInfo
    {
        /// <summary>
        /// 消息内容。String类型
        /// </summary>
        public string content { set; get; }
    }
}
